package operation;

import book.BookList;

import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: yinsh
 * Date: 2025-01-13
 * Time: 20:53
 */
public class ShowOperation implements IOperation {
    @Override
    public void work(BookList bookList) {
        for (int i = 0; i < bookList.getUsedSize(); i++) {
            System.out.println(bookList.books[i]);

        }

    }

}
